package star.cloud.asme.base.fowable.listener.taskListener;

import org.flowable.engine.delegate.TaskListener;
import org.flowable.task.service.delegate.DelegateTask;
import org.springframework.stereotype.Component;

@Component("generalManagerTaskListener")
public class GeneralManagerTaskListener implements TaskListener {
    @Override
    public void notify(DelegateTask delegateTask) {
        delegateTask.setAssignee("yinjunxi");
    }
}
